package com.linxiao.call.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户IP话机配置对象 crm_telephone_config
 * 
 * @author zhoudong
 * @date 2022-08-24
 */
public class CrmTelephoneConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 电话类型 */
    @Excel(name = "电话类型")
    private Long telephoneType;

    /** 初始状态 */
    @Excel(name = "初始状态")
    private Long initType;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTelephoneType(Long telephoneType) 
    {
        this.telephoneType = telephoneType;
    }

    public Long getTelephoneType() 
    {
        return telephoneType;
    }
    public void setInitType(Long initType) 
    {
        this.initType = initType;
    }

    public Long getInitType() 
    {
        return initType;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("telephoneType", getTelephoneType())
            .append("initType", getInitType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("memo", getMemo())
            .toString();
    }
}
